import { stringify } from 'qs';
import request from '@/utils/request';

export async function searchExampleOrder(params) {
  return request(`/api/example/order/exampleOrder/search?${stringify(params)}`);
}
export async function getExampleOrder(params) {
  return request(`/api/example/order/exampleOrder/${params}`);
}
export async function saveExampleOrder(params) {
  return request(`/api/example/order/exampleOrder`, {
    method: 'POST',
    'Content-Type': 'application/x-www-form-urlencoded;',
    body: params,
  });
}
export async function removeExampleOrder(params) {
  return request(`/api/example/order/exampleOrder/remove`, {
    method: 'POST',
    'Content-Type': 'application/x-www-form-urlencoded;',
    body: params,
  });
}
export async function batchExampleOrderProcess(params) {
  return request(`/api/example/order/exampleOrder/batch/process`, {
    method: 'POST',
    'Content-Type': 'application/x-www-form-urlencoded;',
    body: params,
  });
}
